<?php
/**
 * 
 * @author SangNV1001
 *
 */
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap{
	/**
	 * 
	 */
    public function _initAutoload(){
        $front = Zend_Controller_Front::getInstance();
        $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler(array(
		    'module'     => 'error',
		    'controller' => 'error',
		    'action'     => 'error',
        )));
    }
    /**
     *
     */
    protected function _initRun() {
    	require_once 'Zend/Loader/Autoloader.php';
    	$loader = Zend_Loader_Autoloader::getInstance();
    	$loader->registerNamespace('Zendx_');
    }
}